package logmerger.main;

import org.apache.commons.codec.binary.Base64;

public class EncodeDecodeUtil {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println(encodeBase64("password"));

	}
	
	public static String decodeBase64(String value){
		return new String(Base64.decodeBase64(value.getBytes()));
	}
	
	public static String encodeBase64(String value){
		return new String(Base64.encodeBase64(value.getBytes()));
	}

}
